efa policy large-community-list update

Update large community list on XCO.

Syntax

efa policy large-community-list update [ --type string | --name string | --ip string | --operation string ]

Parameters

--type string
Type of large community list. Valid types are standard and extended.
--name string
Name of large community list.
--ip string
Specifies comma-separated range of device IP addresses. Example: 10.1.1.13,10.1.1.50,10.1.1.101.
--operation string
Valid options are add-device, remove-device.

Examples

This example configures a Large Communuty List on the specified device.
efa policy large-community-list update --operation add-device --ip 10.139.44.159 
--name lgcomm1 --type standard         

+---------------------------+---------+--------+-------------------+-----------+ 
| Large Community List Name | Seq num | Action |     Std Value     | Ext Value | 
+---------------------------+---------+--------+-------------------+-----------+ 
| lgcomm1                   | 5       | permit | 10:10:10 20:20:20 |           | 
+---------------------------+---------+--------+-------------------+-----------+ 
| lgcomm1                   | 10      | permit | 30:30:30          |           | 
+---------------------------+---------+--------+-------------------+-----------+ 
Community List details 
+---------------+---------+--------+-----------------+ 
|  IP Address   | Result  | Reason | Rollback reason | 
+---------------+---------+--------+-----------------+ 
| 10.139.44.159 | Success |        |                 | 
+---------------+---------+--------+-----------------+ 
Device Results
This example configures a Large Community List of type extended on the specified device.
efa policy large-community-list update –-name lgcommExt1 –-type extended 
–-operation add-device --ip 10.139.44.159 

+---------------------+---------+--------+----------------------+-----------------+ 
| Community List Name | Seq num | Action |      Std Value       |    Ext Value.   | 
+---------------------+---------+--------+----------------------+-----------------+ 
| lgcommExt1          | 5       | permit |                    |   645XX:.*:.*  | 
+---------------------+---------+--------+----------------------+-----------------+ 
Community List details 
+---------------+---------+--------+-----------------+ 
|  IP Address   | Result  | Reason | Rollback reason | 
+---------------+---------+--------+-----------------+ 
| 10.139.44.159 | Success |        |                 | 
+---------------+---------+--------+-----------------+ 
Device Results 
efa policy large-community-list update --operation add-device --ip 10.139.44.159-160 
--name lgcomm1 --type standard  

+---------------------------+---------+--------+-------------------+-----------+ 
| Large Community List Name | Seq num | Action |     Std Value     | Ext Value | 
+---------------------------+---------+--------+-------------------+-----------+ 
| lgcomm1                   | 5       | permit | 10:10:10 20:20:20 |           | 
+---------------------------+---------+--------+-------------------+-----------+ 
| lgcomm1                   | 10      | permit | 30:30:30          |           | 
+---------------------------+---------+--------+-------------------+-----------+ 
Community List details 
+---------------+---------+--------------------------------------------------------------+-----------------+ 
|  IP Address   | Result  |                            Reason                            | Rollback reason | 
+---------------+---------+--------------------------------------------------------------+-----------------+ 
| 10.139.44.159 | Success |                                                              |                 | 
+---------------+---------+--------------------------------------------------------------+-----------------+ 
| 10.139.44.160 | Failed  | Policy lgcomm1 type large-community-list seq# 5 operation    |                 | 
|               |         | failed on device 10.139.44.160 due to Reason: For seq 10:    |                 | 
|               |         | netconf rpc [error] '%Error: An IP Community access-list     |                 | 
|               |         | with this name and instance number already exists'           |                 | 
+---------------+---------+--------------------------------------------------------------+-----------------+ 
Device Results
This example removes a Large Community List from the specified device.
efa policy large-community-list update –-name lgcomm1 –-type standard 
–-operation remove-device --ip 10.139.44.159 

+---------------------------+---------+--------+-------------------+-----------+ 
| Large Community List Name | Seq num | Action |     Std Value     | Ext Value | 
+---------------------------+---------+--------+-------------------+-----------+ 
| lgcomm1                   | 5       | permit | 10:10:10 20:20:20 |           | 
+---------------------------+---------+--------+-------------------+-----------+ 
| lgcomm1                   | 10      | permit | 30:30:30          |           | 
+---------------------------+---------+--------+-------------------+-----------+ 
Community List details 
+---------------+---------+--------+-----------------+ 
|  IP Address   | Result  | Reason | Rollback reason | 
+---------------+---------+--------+-----------------+ 
| 10.139.44.159 | Success |        |                 | 
+---------------+---------+--------+-----------------+ 
Device Results